﻿<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
</head>
<body>
    <script>
        // 翻转
        let arr = ['one', 'two', 'three'];
        console.log('arr:', arr);

        let reversed = arr.reverse();
        console.log('reversed:', reversed);
    </script>
</body>
</html>